package com.spzx.cart.service;

import com.spzx.cart.api.domain.CartInfo;

import java.util.List;

public interface CartService {
    void addToCart(Long skuId, Integer skuNum);

    List<CartInfo> cartList();

    void deleteCartInfo(Long skuId);

    void clearCartInfo();

    void updateCartInfo(Long skuId, Integer status);

    void allCheckCart(Integer status);

    List<CartInfo> getCheckedCartInfo(Long userId);

    void clearCheckedCartInfo(Long userId);
}
